package cn.kys.aop;

import org.springframework.stereotype.Component;

@Component
public class CalImpl implements Cal {

    public int add(int num1,int num2){
        return num1+num2;
    }

    public int sub(int num1, int num2) {
        return num1-num2;
    }
}
